package cn.wolfcode.luowowo.article.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.util.StringUtil;
import lombok.Getter;
import lombok.Setter;

@Getter@Setter
public class DestinationQuery extends QueryObject{
    private Long parentId;
    private String keyword;
    private int ishot = -1;

    public String getKeyword(){
        return StringUtil.isEmpty(keyword)?null:keyword;
    }
}
